import axios from "axios";
let isRefreshing = false
// 重试队列，每一项将是一个待执行的函数形式
let requests = []
const instance = axios.create({
  baseURL: 'http://localhost:3000',
  timeout: 3000,
  headers: { 'X-Custom-Header': 'foobar' }
});
export default instance;